WEXP: heading numbers in filtered view

If I export with native Word export, I have the option to include the DOORS heading number.

In a filtered view, I see the original DOORS heading numbers.

 

If I export with the RMF WEXP, I don't have this option: all heading numbers are new numbered.

 

Example Module:

1 Heading One
2 Heading Two
3 Heading Three

When I filter out 'Heading Two' the exported output will be renumbered to:

1 Heading One
2 Heading Three

How is it possible to use the native export option useing the heading numbers in RMF/WEXP?

 


thsturm - Tue Apr 26 04:24:53 EDT 2016

Re: WEXP: heading numbers in filtered view
thsturm - Thu Apr 28 05:46:02 EDT 2016

This beahaviour (and much more) can be coded in: addins\irdrmfao\wexp\include\usercallouts.inc


/*
Here is a function that can be used to modify Object Heading before exporting, e.g. places requirement numbers on paragraphs.
*/
void processObjectHeading(Object o, Buffer bodyHeading) { // process paragraph text as a requirement

    bodyHeading = number(o) " " tempStringOf(bodyHeading) 
}